package com.buu.manager.dao;

import com.buu.manager.domain.EduDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface EduDao {
    EduDO get(Long id);

    EduDO getUserBySysUserId(Long sysUserId);

    List<EduDO> list(Map<String, Object> param);

    List<EduDO> getUsersByUnit(Map<String, Object> param);

    int getUsersByUnitCount(Map<String, Object> param);

    int count(Map<String, Object> map);

    int save(EduDO obj);

    int update(EduDO obj);

    int remove(Long id);

    int batchRemove(List<Long> list);

    String getMaxUserId(EduDO obj);
}
